#pragma once

#include "Devicecontroller.h"

class KeyController : public DeviceController {
public:
	KeyController(controllers::Joystick* controller);
	virtual ~KeyController();

	void run();

private:
	static const int kKeyRepeatDelay = 100;

	bool leftDown;
	bool rightDown;
	__int64 lastTime;
};

